package com.truongnha.clienttn.data.sao;

import com.truongnha.clienttn.presentation.temp.JSONParser;

import config.Url;

public class LogoutSAO {
	private String url;
	private boolean success;

	public LogoutSAO() {
		super();
		this.url = Url.getURLLogout();
		success = logout();
	}

	private boolean logout() {
		return new JSONParser().logout(url);
	}

	public boolean isSuccess() {
		return success;
	}
}
